import { createApp } from "vue";
import { createPinia } from "pinia";

import App from "./App.vue";
import router from "./router";

import ElementPlus from 'element-plus'

import 'normalize.css/normalize.css'

import 'element-plus/dist/index.css'

import * as Icons from '@element-plus/icons-vue'

const app = createApp(App);

Object.keys(Icons).forEach((key) => {

  app.component(key, Icons[key]);

});

app.use(createPinia());
app.use(router);
app.use(ElementPlus, {size: 'small', zIndex: 3000})

app.mount("#app");
